/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package operaciones;

import javax.faces.application.FacesMessage;
import javax.faces.context.FacesContext;

/**
 *
 * @author chokurey
 */
public class Mensajes {
    
    public void mensaje(){
    
    
    }
    
    public void warning(String m){
         FacesContext.getCurrentInstance().addMessage(null, new FacesMessage(FacesMessage.SEVERITY_WARN,m," ")); 
    }
    
    public void info(String m){
           FacesContext.getCurrentInstance().addMessage(null, new FacesMessage(FacesMessage.SEVERITY_INFO,m,""));
    }
    
}
